Skip to content

chore: change cdn. - #69

Merged
knightedcodemonkey merged 7 commits into
mainfrom
bananas
Jan 29, 2026
Merged

chore: change cdn.#69
knightedcodemonkey merged 7 commits into
mainfrom
bananas

Conversation

@knightedcodemonkey

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 28, 2026 03:20
@codecov

codecov Bot commented Jan 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.81%. Comparing base (c6da89a) to head (13fc0ba).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   88.81%   88.81%           
=======================================
  Files          23       23           
  Lines        1707     1707           
  Branches      460      460           
=======================================
  Hits         1516     1516           
  Misses         54       54           
  Partials      137      137           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the CDN provider for @knighted/jsx from esm.sh to cdn.jsdelivr.net in the ESM demo file, while also pinning the version from @latest to 1.7.5.

Changes:

  • Updated CDN provider from esm.sh to cdn.jsdelivr.net for @knighted/jsx imports
  • Added performance optimizations (preconnect, dns-prefetch, modulepreload) for the new CDN
  • Updated all references in titles, headings, and documentation text from "esm.sh" to generic "CDN" terminology

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/esm-demo.html

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/esm-demo.html Outdated
Comment thread examples/esm-demo.html Outdated
Comment thread examples/esm-demo.html Outdated
Comment thread examples/esm-demo.html Outdated
Comment thread test/fixtures/e2e.html
Comment thread test/fixtures/e2e.html
Copilot AI review requested due to automatic review settings January 29, 2026 23:48
@knightedcodemonkey
knightedcodemonkey merged commit dbbef10 into main Jan 29, 2026
12 checks passed
@knightedcodemonkey
knightedcodemonkey deleted the bananas branch January 29, 2026 23:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/esm-demo.html
Comment on lines +11 to +15
href="https://cdn.jsdelivr.net/npm/@knighted/jsx@1.7.6/lite/+esm"
/>
<link
rel="modulepreload"
href="https://cdn.jsdelivr.net/npm/@knighted/jsx@1.7.6/react/+esm"

Copilot AI Jan 29, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version is hardcoded to 1.7.6 in multiple modulepreload links. This creates a maintenance burden as these URLs will need manual updates on each release. Consider using a build-time variable replacement or documenting the need to update these references when releasing new versions.

Suggested change
href="https://cdn.jsdelivr.net/npm/@knighted/jsx@1.7.6/lite/+esm"
/>
<link
rel="modulepreload"
href="https://cdn.jsdelivr.net/npm/@knighted/jsx@1.7.6/react/+esm"
href="https://cdn.jsdelivr.net/npm/@knighted/jsx/lite/+esm"
/>
<link
rel="modulepreload"
href="https://cdn.jsdelivr.net/npm/@knighted/jsx/react/+esm"

Copilot uses AI. Check for mistakes.
* Tests the local E2E fixture to ensure that the current build works as expected.
*/
test.describe('esm demo via esm.sh', () => {
test.describe('esm demo via local dist fixture', () => {

Copilot AI Jan 29, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test suite name 'esm demo via local dist fixture' doesn't align well with the updated comment that says 'Tests the local E2E fixture'. Consider renaming the suite to something like 'e2e fixture via local dist' or 'local e2e fixture' to better reflect what's being tested.

Suggested change
test.describe('esm demo via local dist fixture', () => {
test.describe('local e2e fixture', () => {

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants